package com.tp.server;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Registro DNS.
 * 
 * @author Franke Oviedo Triay
 * 
 *
 */

public class Registry {

	String type;
	String value;
	Map<String, Registry> childrenRegistries;
	
	/**
	 * Constructor.
	 */
	public Registry() {
		this.type = "";
		this.value = "";
		this.childrenRegistries = new LinkedHashMap<String, Registry>();
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Map<String, Registry> getChildrenRegistries() {
		return childrenRegistries;
	}

	public void setChildrenRegistries(Map<String, Registry> childrenRegistries) {
		this.childrenRegistries = childrenRegistries;
	}

}
